/******/ (function(modules) { // webpackBootstrap
/******/ 	// install a JSONP callback for chunk loading
/******/ 	function webpackJsonpCallback(data) {
/******/ 		var chunkIds = data[0];
/******/ 		var moreModules = data[1];
/******/ 		var executeModules = data[2];
/******/
/******/ 		// add "moreModules" to the modules object,
/******/ 		// then flag all "chunkIds" as loaded and fire callback
/******/ 		var moduleId, chunkId, i = 0, resolves = [];
/******/ 		for(;i < chunkIds.length; i++) {
/******/ 			chunkId = chunkIds[i];
/******/ 			if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
/******/ 				resolves.push(installedChunks[chunkId][0]);
/******/ 			}
/******/ 			installedChunks[chunkId] = 0;
/******/ 		}
/******/ 		for(moduleId in moreModules) {
/******/ 			if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
/******/ 				modules[moduleId] = moreModules[moduleId];
/******/ 			}
/******/ 		}
/******/ 		if(parentJsonpFunction) parentJsonpFunction(data);
/******/
/******/ 		while(resolves.length) {
/******/ 			resolves.shift()();
/******/ 		}
/******/
/******/ 		// add entry modules from loaded chunk to deferred list
/******/ 		deferredModules.push.apply(deferredModules, executeModules || []);
/******/
/******/ 		// run deferred modules when all chunks ready
/******/ 		return checkDeferredModules();
/******/ 	};
/******/ 	function checkDeferredModules() {
/******/ 		var result;
/******/ 		for(var i = 0; i < deferredModules.length; i++) {
/******/ 			var deferredModule = deferredModules[i];
/******/ 			var fulfilled = true;
/******/ 			for(var j = 1; j < deferredModule.length; j++) {
/******/ 				var depId = deferredModule[j];
/******/ 				if(installedChunks[depId] !== 0) fulfilled = false;
/******/ 			}
/******/ 			if(fulfilled) {
/******/ 				deferredModules.splice(i--, 1);
/******/ 				result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
/******/ 			}
/******/ 		}
/******/
/******/ 		return result;
/******/ 	}
/******/
/******/ 	// The module cache
/******/ 	var installedModules = {};
/******/
/******/ 	// object to store loaded CSS chunks
/******/ 	var installedCssChunks = {
/******/ 		"customer": 0
/******/ 	}
/******/
/******/ 	// object to store loaded and loading chunks
/******/ 	// undefined = chunk not loaded, null = chunk preloaded/prefetched
/******/ 	// Promise = chunk loading, 0 = chunk loaded
/******/ 	var installedChunks = {
/******/ 		"customer": 0
/******/ 	};
/******/
/******/ 	var deferredModules = [];
/******/
/******/ 	// script path function
/******/ 	function jsonpScriptSrc(chunkId) {
/******/ 		return __webpack_require__.p + "js/" + ({}[chunkId]||chunkId) + ".js?hash=" + {"0":"b9ef50b3b09820f7f601","1":"930d3fbc3498bdc29bec","2":"63e9e0e8e57049825599","3":"5770b36b60491a3e677a","4":"7db556a70b9b8b6673d1","6":"c9151bae18b103157eff","7":"7aac6713c9803fc5bbfd","12":"a72686283b88ae54bc96","14":"49a772a9dffa77c71809","29":"a08f4809dca70146d1b4","30":"ecd98bba8762eca365c4","31":"193da18282fab5d9e774","34":"eae77a18827ffad18d48","35":"1a7b26a46a0c9ecaa08e","41":"d93c1cc2aa204afbd05f","43":"75eb6f96af6857116bdc","53":"aa5a2f679a7b6a36c0fa","54":"800f19c781cc8c874fa4","55":"d96aae1ed3c775a51033","86":"b6cb83e31a97bc0c79e2"}[chunkId] + ""
/******/ 	}
/******/
/******/ 	// The require function
/******/ 	function __webpack_require__(moduleId) {
/******/
/******/ 		// Check if module is in cache
/******/ 		if(installedModules[moduleId]) {
/******/ 			return installedModules[moduleId].exports;
/******/ 		}
/******/ 		// Create a new module (and put it into the cache)
/******/ 		var module = installedModules[moduleId] = {
/******/ 			i: moduleId,
/******/ 			l: false,
/******/ 			exports: {}
/******/ 		};
/******/
/******/ 		// Execute the module function
/******/ 		modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
/******/
/******/ 		// Flag the module as loaded
/******/ 		module.l = true;
/******/
/******/ 		// Return the exports of the module
/******/ 		return module.exports;
/******/ 	}
/******/
/******/ 	// This file contains only the entry chunk.
/******/ 	// The chunk loading function for additional chunks
/******/ 	__webpack_require__.e = function requireEnsure(chunkId) {
/******/ 		var promises = [];
/******/
/******/
/******/ 		// mini-css-extract-plugin CSS loading
/******/ 		var cssChunks = {"0":1,"1":1,"2":1,"3":1,"4":1,"6":1,"7":1,"14":1,"29":1,"30":1,"31":1,"34":1,"35":1,"41":1,"43":1};
/******/ 		if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
/******/ 		else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
/******/ 			promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
/******/ 				var href = "css/" + ({}[chunkId]||chunkId) + ".css?hash=" + {"0":"0dd8837ff39b138835ff","1":"7ec705ca47e2c7658e1e","2":"304be19aa901cb513fda","3":"d4a06d3b3b8f272bd7c4","4":"f92dc7889ca7bbb96e80","6":"75a558c31227cdd9aa00","7":"601bdfca72dd44bb794c","12":"31d6cfe0d16ae931b73c","14":"9198925b3bc1af931357","29":"73e7c6368929b3cfd9d7","30":"5ba3395b8577c81aa4c1","31":"4ca91d096c18d0c45a26","34":"601bdfca72dd44bb794c","35":"601bdfca72dd44bb794c","41":"430bdbba8cd5f6c8564f","43":"ef733605f79ed8b2c4ab","53":"31d6cfe0d16ae931b73c","54":"31d6cfe0d16ae931b73c","55":"31d6cfe0d16ae931b73c","86":"31d6cfe0d16ae931b73c"}[chunkId] + "";
/******/ 				var fullhref = __webpack_require__.p + href;
/******/ 				var existingLinkTags = document.getElementsByTagName("link");
/******/ 				for(var i = 0; i < existingLinkTags.length; i++) {
/******/ 					var tag = existingLinkTags[i];
/******/ 					var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");
/******/ 					if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return resolve();
/******/ 				}
/******/ 				var existingStyleTags = document.getElementsByTagName("style");
/******/ 				for(var i = 0; i < existingStyleTags.length; i++) {
/******/ 					var tag = existingStyleTags[i];
/******/ 					var dataHref = tag.getAttribute("data-href");
/******/ 					if(dataHref === href || dataHref === fullhref) return resolve();
/******/ 				}
/******/ 				var linkTag = document.createElement("link");
/******/ 				linkTag.rel = "stylesheet";
/******/ 				linkTag.type = "text/css";
/******/ 				linkTag.onload = resolve;
/******/ 				linkTag.onerror = function(event) {
/******/ 					var request = event && event.target && event.target.src || fullhref;
/******/ 					var err = new Error("Loading CSS chunk " + chunkId + " failed.\n(" + request + ")");
/******/ 					err.code = "CSS_CHUNK_LOAD_FAILED";
/******/ 					err.request = request;
/******/ 					delete installedCssChunks[chunkId]
/******/ 					linkTag.parentNode.removeChild(linkTag)
/******/ 					reject(err);
/******/ 				};
/******/ 				linkTag.href = fullhref;
/******/
/******/ 				var head = document.getElementsByTagName("head")[0];
/******/ 				head.appendChild(linkTag);
/******/ 			}).then(function() {
/******/ 				installedCssChunks[chunkId] = 0;
/******/ 			}));
/******/ 		}
/******/
/******/ 		// JSONP chunk loading for javascript
/******/
/******/ 		var installedChunkData = installedChunks[chunkId];
/******/ 		if(installedChunkData !== 0) { // 0 means "already installed".
/******/
/******/ 			// a Promise means "currently loading".
/******/ 			if(installedChunkData) {
/******/ 				promises.push(installedChunkData[2]);
/******/ 			} else {
/******/ 				// setup Promise in chunk cache
/******/ 				var promise = new Promise(function(resolve, reject) {
/******/ 					installedChunkData = installedChunks[chunkId] = [resolve, reject];
/******/ 				});
/******/ 				promises.push(installedChunkData[2] = promise);
/******/
/******/ 				// start chunk loading
/******/ 				var script = document.createElement('script');
/******/ 				var onScriptComplete;
/******/
/******/ 				script.charset = 'utf-8';
/******/ 				script.timeout = 120;
/******/ 				if (__webpack_require__.nc) {
/******/ 					script.setAttribute("nonce", __webpack_require__.nc);
/******/ 				}
/******/ 				script.src = jsonpScriptSrc(chunkId);
/******/
/******/ 				// create error before stack unwound to get useful stacktrace later
/******/ 				var error = new Error();
/******/ 				onScriptComplete = function (event) {
/******/ 					// avoid mem leaks in IE.
/******/ 					script.onerror = script.onload = null;
/******/ 					clearTimeout(timeout);
/******/ 					var chunk = installedChunks[chunkId];
/******/ 					if(chunk !== 0) {
/******/ 						if(chunk) {
/******/ 							var errorType = event && (event.type === 'load' ? 'missing' : event.type);
/******/ 							var realSrc = event && event.target && event.target.src;
/******/ 							error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
/******/ 							error.name = 'ChunkLoadError';
/******/ 							error.type = errorType;
/******/ 							error.request = realSrc;
/******/ 							chunk[1](error);
/******/ 						}
/******/ 						installedChunks[chunkId] = undefined;
/******/ 					}
/******/ 				};
/******/ 				var timeout = setTimeout(function(){
/******/ 					onScriptComplete({ type: 'timeout', target: script });
/******/ 				}, 120000);
/******/ 				script.onerror = script.onload = onScriptComplete;
/******/ 				document.head.appendChild(script);
/******/ 			}
/******/ 		}
/******/ 		return Promise.all(promises);
/******/ 	};
/******/
/******/ 	// expose the modules object (__webpack_modules__)
/******/ 	__webpack_require__.m = modules;
/******/
/******/ 	// expose the module cache
/******/ 	__webpack_require__.c = installedModules;
/******/
/******/ 	// define getter function for harmony exports
/******/ 	__webpack_require__.d = function(exports, name, getter) {
/******/ 		if(!__webpack_require__.o(exports, name)) {
/******/ 			Object.defineProperty(exports, name, { enumerable: true, get: getter });
/******/ 		}
/******/ 	};
/******/
/******/ 	// define __esModule on exports
/******/ 	__webpack_require__.r = function(exports) {
/******/ 		if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
/******/ 			Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
/******/ 		}
/******/ 		Object.defineProperty(exports, '__esModule', { value: true });
/******/ 	};
/******/
/******/ 	// create a fake namespace object
/******/ 	// mode & 1: value is a module id, require it
/******/ 	// mode & 2: merge all properties of value into the ns
/******/ 	// mode & 4: return value when already ns object
/******/ 	// mode & 8|1: behave like require
/******/ 	__webpack_require__.t = function(value, mode) {
/******/ 		if(mode & 1) value = __webpack_require__(value);
/******/ 		if(mode & 8) return value;
/******/ 		if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
/******/ 		var ns = Object.create(null);
/******/ 		__webpack_require__.r(ns);
/******/ 		Object.defineProperty(ns, 'default', { enumerable: true, value: value });
/******/ 		if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
/******/ 		return ns;
/******/ 	};
/******/
/******/ 	// getDefaultExport function for compatibility with non-harmony modules
/******/ 	__webpack_require__.n = function(module) {
/******/ 		var getter = module && module.__esModule ?
/******/ 			function getDefault() { return module['default']; } :
/******/ 			function getModuleExports() { return module; };
/******/ 		__webpack_require__.d(getter, 'a', getter);
/******/ 		return getter;
/******/ 	};
/******/
/******/ 	// Object.prototype.hasOwnProperty.call
/******/ 	__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
/******/
/******/ 	// __webpack_public_path__
/******/ 	__webpack_require__.p = "/";
/******/
/******/ 	// on error function for async loading
/******/ 	__webpack_require__.oe = function(err) { console.error(err); throw err; };
/******/
/******/ 	var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || [];
/******/ 	var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
/******/ 	jsonpArray.push = webpackJsonpCallback;
/******/ 	jsonpArray = jsonpArray.slice();
/******/ 	for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
/******/ 	var parentJsonpFunction = oldJsonpFunction;
/******/
/******/
/******/ 	// add entry module to deferred list
/******/ 	deferredModules.push([1,"chunk-vendors","chunk-common"]);
/******/ 	// run deferred modules when ready
/******/ 	return checkDeferredModules();
/******/ })
/************************************************************************/
/******/ ({

/***/ "./src/customer.js":
/*!*************************!*\
  !*** ./src/customer.js ***!
  \*************************/
/*! no exports provided */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var E_www_bonded_import_resources_vue_node_modules_core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./node_modules/core-js/modules/es.array.iterator.js */ \"./node_modules/core-js/modules/es.array.iterator.js\");\n/* harmony import */ var E_www_bonded_import_resources_vue_node_modules_core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(E_www_bonded_import_resources_vue_node_modules_core_js_modules_es_array_iterator_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var E_www_bonded_import_resources_vue_node_modules_core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./node_modules/core-js/modules/es.promise.js */ \"./node_modules/core-js/modules/es.promise.js\");\n/* harmony import */ var E_www_bonded_import_resources_vue_node_modules_core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(E_www_bonded_import_resources_vue_node_modules_core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var E_www_bonded_import_resources_vue_node_modules_core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./node_modules/core-js/modules/es.object.assign.js */ \"./node_modules/core-js/modules/es.object.assign.js\");\n/* harmony import */ var E_www_bonded_import_resources_vue_node_modules_core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(E_www_bonded_import_resources_vue_node_modules_core_js_modules_es_object_assign_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var E_www_bonded_import_resources_vue_node_modules_core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./node_modules/core-js/modules/es.promise.finally.js */ \"./node_modules/core-js/modules/es.promise.finally.js\");\n/* harmony import */ var E_www_bonded_import_resources_vue_node_modules_core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(E_www_bonded_import_resources_vue_node_modules_core_js_modules_es_promise_finally_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var _App_vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./App.vue */ \"./src/App.vue\");\n/* harmony import */ var _router_customer__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./router/customer */ \"./src/router/customer.js\");\n/* harmony import */ var _store_customer__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./store/customer */ \"./src/store/customer.js\");\n/* harmony import */ var _plugins_http__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./plugins/http */ \"./src/plugins/http.js\");\n/* harmony import */ var _plugins_cache__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./plugins/cache */ \"./src/plugins/cache.js\");\n/* harmony import */ var view_design__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! view-design */ \"./node_modules/view-design/dist/iview.js\");\n/* harmony import */ var view_design__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(view_design__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _assets_app_css__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ./assets/app.css */ \"./src/assets/app.css\");\n/* harmony import */ var _assets_app_css__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_assets_app_css__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var vue_text_format__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! vue-text-format */ \"./node_modules/vue-text-format/src/main.js\");\n\n\n\n\n\n\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_4__[\"default\"].use(vue_text_format__WEBPACK_IMPORTED_MODULE_12__[\"default\"]);\nvue__WEBPACK_IMPORTED_MODULE_4__[\"default\"].use(_plugins_http__WEBPACK_IMPORTED_MODULE_8__[\"default\"]);\nvue__WEBPACK_IMPORTED_MODULE_4__[\"default\"].use(_plugins_cache__WEBPACK_IMPORTED_MODULE_9__[\"default\"]);\nvue__WEBPACK_IMPORTED_MODULE_4__[\"default\"].use(view_design__WEBPACK_IMPORTED_MODULE_10___default.a);\n_plugins_http__WEBPACK_IMPORTED_MODULE_8__[\"$http\"].defaults.baseURL = '/customer/' + CUSTOMER + '/';\nvue__WEBPACK_IMPORTED_MODULE_4__[\"default\"].config.productionTip = false;\nnew vue__WEBPACK_IMPORTED_MODULE_4__[\"default\"]({\n  router: _router_customer__WEBPACK_IMPORTED_MODULE_6__[\"default\"],\n  store: _store_customer__WEBPACK_IMPORTED_MODULE_7__[\"default\"],\n  render: function render(h) {\n    return h(_App_vue__WEBPACK_IMPORTED_MODULE_5__[\"default\"]);\n  }\n}).$mount('#app');\n\n//# sourceURL=webpack:///./src/customer.js?");

/***/ }),

/***/ "./src/router/customer.js":
/*!********************************!*\
  !*** ./src/router/customer.js ***!
  \********************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.function.name.js */ \"./node_modules/core-js/modules/es.function.name.js\");\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"./node_modules/core-js/modules/es.object.to-string.js\");\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.regexp.exec.js */ \"./node_modules/core-js/modules/es.regexp.exec.js\");\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! core-js/modules/es.string.replace.js */ \"./node_modules/core-js/modules/es.string.replace.js\");\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var E_www_bonded_import_resources_vue_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./node_modules/@babel/runtime/helpers/esm/toConsumableArray */ \"./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\");\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vue_router__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! vue-router */ \"./node_modules/vue-router/dist/vue-router.esm.js\");\n/* harmony import */ var _store_customer__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../store/customer */ \"./src/store/customer.js\");\n/* harmony import */ var _customer_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./customer/common */ \"./src/router/customer/common.js\");\n\n\n\n\n\n\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_5__[\"default\"].use(vue_router__WEBPACK_IMPORTED_MODULE_6__[\"default\"]); //解决编程式路由往同一地址跳转时会报错的情况\n\nvar originalPush = vue_router__WEBPACK_IMPORTED_MODULE_6__[\"default\"].prototype.push;\nvar originalReplace = vue_router__WEBPACK_IMPORTED_MODULE_6__[\"default\"].prototype.replace; //push\n\nvue_router__WEBPACK_IMPORTED_MODULE_6__[\"default\"].prototype.push = function push(location, onResolve, onReject) {\n  if (onResolve || onReject) return originalPush.call(this, location, onResolve, onReject);\n  return originalPush.call(this, location).catch(function (err) {\n    return err;\n  });\n}; //replace\n\n\nvue_router__WEBPACK_IMPORTED_MODULE_6__[\"default\"].prototype.replace = function push(location, onResolve, onReject) {\n  if (onResolve || onReject) return originalReplace.call(this, location, onResolve, onReject);\n  return originalReplace.call(this, location).catch(function (err) {\n    return err;\n  });\n};\n\nvar routes = [{\n  path: '/',\n  name: 'layout',\n  redirect: 'home',\n  component: function component() {\n    return __webpack_require__.e(/*! import() */ 4).then(__webpack_require__.bind(null, /*! ../views/Layout.vue */ \"./src/views/Layout.vue\"));\n  },\n  children: Object(E_www_bonded_import_resources_vue_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_4__[\"default\"])(_customer_common__WEBPACK_IMPORTED_MODULE_8__[\"common\"])\n}, {\n  path: '/login',\n  name: 'login',\n  component: function component() {\n    return __webpack_require__.e(/*! import() */ 6).then(__webpack_require__.bind(null, /*! ../views/Login.vue */ \"./src/views/Login.vue\"));\n  }\n}, {\n  path: '*',\n  name: 'layout-404',\n  component: function component() {\n    return __webpack_require__.e(/*! import() */ 54).then(__webpack_require__.bind(null, /*! ../views/customer/error/404.vue */ \"./src/views/customer/error/404.vue\"));\n  }\n}];\nvar router = new vue_router__WEBPACK_IMPORTED_MODULE_6__[\"default\"]({\n  routes: routes\n});\nrouter.beforeEach(function (to, from, next) {\n  var isLogin = Boolean(_store_customer__WEBPACK_IMPORTED_MODULE_7__[\"default\"].state.common.token);\n\n  if (!Boolean(to.name) && isLogin) {\n    next({\n      name: 'layout-404'\n    });\n  } else if (!Boolean(to.name) && !isLogin) {\n    next({\n      name: '404'\n    });\n  } else {\n    if (to.name === 'login' && isLogin) {\n      next({\n        name: 'home'\n      });\n    } else if (to.name !== 'login' && !isLogin) {\n      next({\n        name: 'login'\n      });\n    } else {\n      _store_customer__WEBPACK_IMPORTED_MODULE_7__[\"default\"].commit('common/setRouter', to);\n      next();\n    }\n  }\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (router);\n\n//# sourceURL=webpack:///./src/router/customer.js?");

/***/ }),

/***/ "./src/router/customer/common.js":
/*!***************************************!*\
  !*** ./src/router/customer/common.js ***!
  \***************************************/
/*! exports provided: common */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"common\", function() { return common; });\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.object.to-string.js */ \"./node_modules/core-js/modules/es.object.to-string.js\");\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0__);\n\nvar common = [{\n  path: 'home',\n  name: 'home',\n  meta: {\n    name: \"首页\",\n    history: true\n  },\n  component: function component() {\n    return __webpack_require__.e(/*! import() */ 31).then(__webpack_require__.bind(null, /*! ../../views/customer/index/index.vue */ \"./src/views/customer/index/index.vue\"));\n  }\n}, {\n  path: 'authorities/user',\n  name: 'authorities.user',\n  meta: {\n    name: \"用户管理\",\n    history: true\n  },\n  component: function component() {\n    return Promise.all(/*! import() */[__webpack_require__.e(0), __webpack_require__.e(55)]).then(__webpack_require__.bind(null, /*! ../../views/customer/system/authorities/user/index.vue */ \"./src/views/customer/system/authorities/user/index.vue\"));\n  }\n}, {\n  path: 'authorities/role',\n  name: 'authorities.role',\n  meta: {\n    name: \"角色管理\",\n    history: true\n  },\n  component: function component() {\n    return Promise.all(/*! import() */[__webpack_require__.e(0), __webpack_require__.e(53)]).then(__webpack_require__.bind(null, /*! ../../views/customer/system/authorities/role/index.vue */ \"./src/views/customer/system/authorities/role/index.vue\"));\n  }\n}, {\n  path: 'product/index',\n  name: 'product.index',\n  meta: {\n    name: \"产品管理\",\n    history: true\n  },\n  component: function component() {\n    return Promise.all(/*! import() */[__webpack_require__.e(0), __webpack_require__.e(29), __webpack_require__.e(1), __webpack_require__.e(2), __webpack_require__.e(12), __webpack_require__.e(3)]).then(__webpack_require__.bind(null, /*! ../../views/customer/product/index/index.vue */ \"./src/views/customer/product/index/index.vue\"));\n  }\n}, {\n  path: 'receiving/index',\n  name: 'receiving.index',\n  meta: {\n    name: \"入库管理\",\n    history: true\n  },\n  component: function component() {\n    return Promise.all(/*! import() */[__webpack_require__.e(0), __webpack_require__.e(29), __webpack_require__.e(12), __webpack_require__.e(14)]).then(__webpack_require__.bind(null, /*! ../../views/customer/warehouse/receiving/index.vue */ \"./src/views/customer/warehouse/receiving/index.vue\"));\n  }\n}, {\n  path: 'outbound/index',\n  name: 'outbound.index',\n  meta: {\n    name: \"出库管理\",\n    history: true\n  },\n  component: function component() {\n    return Promise.all(/*! import() */[__webpack_require__.e(0), __webpack_require__.e(86)]).then(__webpack_require__.bind(null, /*! ../../views/customer/warehouse/outbound/index.vue */ \"./src/views/customer/warehouse/outbound/index.vue\"));\n  }\n}, {\n  path: 'profile',\n  name: 'profile',\n  meta: {\n    name: \"个人中心\",\n    history: true\n  },\n  component: function component() {\n    return Promise.all(/*! import() */[__webpack_require__.e(0), __webpack_require__.e(30)]).then(__webpack_require__.bind(null, /*! ../../views/customer/index/profile.vue */ \"./src/views/customer/index/profile.vue\"));\n  }\n}];\n\n//# sourceURL=webpack:///./src/router/customer/common.js?");

/***/ }),

/***/ "./src/store/customer.js":
/*!*******************************!*\
  !*** ./src/store/customer.js ***!
  \*******************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! vue */ \"./node_modules/vue/dist/vue.runtime.esm.js\");\n/* harmony import */ var vuex__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vuex */ \"./node_modules/vuex/dist/vuex.esm.js\");\n/* harmony import */ var _customer_common__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./customer/common */ \"./src/store/customer/common.js\");\n\n\n\nvue__WEBPACK_IMPORTED_MODULE_0__[\"default\"].use(vuex__WEBPACK_IMPORTED_MODULE_1__[\"default\"]);\n/* harmony default export */ __webpack_exports__[\"default\"] = (new vuex__WEBPACK_IMPORTED_MODULE_1__[\"default\"].Store({\n  modules: {\n    common: _customer_common__WEBPACK_IMPORTED_MODULE_2__[\"default\"]\n  }\n}));\n\n//# sourceURL=webpack:///./src/store/customer.js?");

/***/ }),

/***/ "./src/store/customer/common.js":
/*!**************************************!*\
  !*** ./src/store/customer/common.js ***!
  \**************************************/
/*! exports provided: default */
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var core_js_modules_es_array_find_index_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es.array.find-index.js */ \"./node_modules/core-js/modules/es.array.find-index.js\");\n/* harmony import */ var core_js_modules_es_array_find_index_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_index_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es.array.splice.js */ \"./node_modules/core-js/modules/es.array.splice.js\");\n/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! core-js/modules/es.function.name.js */ \"./node_modules/core-js/modules/es.function.name.js\");\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _plugins_cache__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../plugins/cache */ \"./src/plugins/cache.js\");\n/* harmony import */ var _router_customer__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../router/customer */ \"./src/router/customer.js\");\n\n\n\n\n\nvar state = {\n  token: null,\n  menus: [],\n  usedRouter: []\n};\nvar mutations = {\n  setToken: function setToken(state, token) {\n    state.token = token;\n    _plugins_cache__WEBPACK_IMPORTED_MODULE_3__[\"$cache\"].set('$store/auth/token', token);\n    _router_customer__WEBPACK_IMPORTED_MODULE_4__[\"default\"].push({\n      name: 'home'\n    });\n  },\n  setMenus: function setMenus(state, menus) {\n    state.menus = menus;\n    _plugins_cache__WEBPACK_IMPORTED_MODULE_3__[\"$cache\"].set('$store/auth/menus', menus);\n  },\n  setRouter: function setRouter(state, _ref) {\n    var name = _ref.name,\n        meta = _ref.meta;\n\n    if (meta && meta.history) {\n      var index = state.usedRouter.findIndex(function (val) {\n        return val.name === name;\n      });\n\n      if (index !== -1) {\n        state.usedRouter.splice(index, 1);\n      }\n\n      state.usedRouter.unshift({\n        name: name,\n        meta: meta\n      });\n      _plugins_cache__WEBPACK_IMPORTED_MODULE_3__[\"$cache\"].set('$store/auth/usedRouter', state.usedRouter);\n    }\n  }\n};\nstate.token = _plugins_cache__WEBPACK_IMPORTED_MODULE_3__[\"$cache\"].get('$store/auth/token') || null;\nstate.menus = _plugins_cache__WEBPACK_IMPORTED_MODULE_3__[\"$cache\"].get('$store/auth/menus') || [];\nstate.usedRouter = _plugins_cache__WEBPACK_IMPORTED_MODULE_3__[\"$cache\"].get('$store/auth/usedRouter') || [];\n/* harmony default export */ __webpack_exports__[\"default\"] = ({\n  namespaced: true,\n  state: state,\n  mutations: mutations\n});\n\n//# sourceURL=webpack:///./src/store/customer/common.js?");

/***/ }),

/***/ 1:
/*!*******************************!*\
  !*** multi ./src/customer.js ***!
  \*******************************/
/*! no static exports found */
/***/ (function(module, exports, __webpack_require__) {

eval("module.exports = __webpack_require__(/*! E:\\www\\bonded-import\\resources\\vue\\src\\customer.js */\"./src/customer.js\");\n\n\n//# sourceURL=webpack:///multi_./src/customer.js?");

/***/ })

/******/ });